package com.hp.demo.service.impl;

import com.hp.demo.dao.ManagerMapper;
import com.hp.demo.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service("managerService")
public class ManagerServiceImpl implements ManagerService {
    @Autowired
    ManagerMapper managerMapper;
    @Override
    public List<Map> login(Map map) {
        return managerMapper.selectByMap(map);
    }
}
